Skip to content

Client credentials grant#74

Merged
joehoyle merged 11 commits intoWP-API:mainfrom
abhishek-kaushik:client-credentials-grant
Apr 30, 2026
Merged

Client credentials grant#74
joehoyle merged 11 commits intoWP-API:mainfrom
abhishek-kaushik:client-credentials-grant

Conversation

@abhishek-kaushik
Copy link
Copy Markdown
Contributor

@abhishek-kaushik abhishek-kaushik commented Mar 6, 2026

Adds support for the OAuth 2.0 Client Credentials grant type, enabling machine-to-machine authentication without user interaction. A client exchanges a client_id + client_secret for an access token that is not tied to any WordPress user.

@abhishek-kaushik abhishek-kaushik marked this pull request as ready for review March 31, 2026 10:04
Comment thread inc/tokens/class-access-token.php Outdated
Comment thread inc/admin/settings/namespace.php Outdated
Copy link
Copy Markdown
Member

@joehoyle joehoyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rmccue do you want to also review?

Comment thread inc/authentication/namespace.php Outdated
Comment thread inc/tokens/class-access-token.php Outdated
@joehoyle joehoyle merged commit 133d905 into WP-API:main Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants